package com.wenzheng.quartz.domain.vo;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 更新任务vo
 * @author
 * @version 1.0
 */
public class UpdateTaskVo {
	@NotNull(message = "id不能为空")
	private Integer id;
	@NotBlank(message = "cron表达式不能为空")
	private String cron;
	private String description;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCron() {
		return cron;
	}

	public void setCron(String cron) {
		this.cron = cron;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
